package com.neusoft.cmsprojects.dao;

import java.util.Collection;
import java.util.List;

import com.neusoft.cmsprojects.model.Privilege;
import com.neusoft.cmsprojects.util.DaoUtil;

public interface PrivilegeDao extends DaoUtil {

	List<Privilege> findTopPrivilege();

	Collection<String> getAllPrivilegeUrls();

	List<Privilege> getByIds(Integer[] privilegeIds);

	List<Privilege> findPrivilegeById(Integer id);

	Privilege getById(Integer parentId);

	List<Privilege> findChildren(String hql);

	void deleteAndRole(Privilege privilege);

}
